package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备监控对象 dispatchDeviceMonitor
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchDeviceMonitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备监控编号 */
    @Excel(name = "设备监控编号")
    private Long deviceMonitorId;

    /** 站点编号 */
    @Excel(name = "站点编号")
    private Long siteId;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private Long deviceId;

    /** 测点 ID */
    @Excel(name = "测点 ID")
    private Long measurementPointId;

    /** 最新上传数据 */
    @Excel(name = "最新上传数据")
    private BigDecimal latestData;

    /** 数据上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataUploadTime;

    /** 信号强度 */
    @Excel(name = "信号强度")
    private BigDecimal signalStrength;

    /** 设备运行状态 */
    @Excel(name = "设备运行状态")
    private String deviceStatus;

    /** 表格列配置信息 */
    @Excel(name = "表格列配置信息")
    private String columnConfig;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setDeviceMonitorId(Long deviceMonitorId) 
    {
        this.deviceMonitorId = deviceMonitorId;
    }

    public Long getDeviceMonitorId() 
    {
        return deviceMonitorId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setMeasurementPointId(Long measurementPointId) 
    {
        this.measurementPointId = measurementPointId;
    }

    public Long getMeasurementPointId() 
    {
        return measurementPointId;
    }
    public void setLatestData(BigDecimal latestData) 
    {
        this.latestData = latestData;
    }

    public BigDecimal getLatestData() 
    {
        return latestData;
    }
    public void setDataUploadTime(Date dataUploadTime) 
    {
        this.dataUploadTime = dataUploadTime;
    }

    public Date getDataUploadTime() 
    {
        return dataUploadTime;
    }
    public void setSignalStrength(BigDecimal signalStrength) 
    {
        this.signalStrength = signalStrength;
    }

    public BigDecimal getSignalStrength() 
    {
        return signalStrength;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setColumnConfig(String columnConfig) 
    {
        this.columnConfig = columnConfig;
    }

    public String getColumnConfig() 
    {
        return columnConfig;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceMonitorId", getDeviceMonitorId())
            .append("siteId", getSiteId())
            .append("deviceId", getDeviceId())
            .append("measurementPointId", getMeasurementPointId())
            .append("latestData", getLatestData())
            .append("dataUploadTime", getDataUploadTime())
            .append("signalStrength", getSignalStrength())
            .append("deviceStatus", getDeviceStatus())
            .append("columnConfig", getColumnConfig())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
